package models

import (
	"time"
)

// YhThird undefined
type Third struct {
	ID        int64     `json:"id" gorm:"id"`
	Openid    string    `json:"openid" gorm:"openid"`
	UserId    int64     `json:"user_id" gorm:"user_id"`
	CreatedAt time.Time `json:"created_at" gorm:"created_at"`
	UpdatedAt time.Time `json:"updated_at" gorm:"updated_at"`
	NickName  string    `json:"nick_name" gorm:"nick_name"`
	AvatarUrl string    `json:"avatar_url" gorm:"avatar_url"`
}

// TableName 表名称
func (*Third) TableName() string {
	return "dg_third"
}